<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../common/header.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath }"></c:set>
<!-- 班级修改页面开始 -->
<div class="x_content">
	<form id="query" class="form-horizontal form-label-left" action="${ctx}/classServlet.do"
		method="post" novalidate>
		<input type="hidden" name="param" value="modify_save"/>
		<input type="hidden" name="classId" value="${classInfo.classId}"/>
		<span class="section">班级修改页面</span>
		<div class="item form-group">
		  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="email">专业类型
				<span class="required">*</span>
			</label>
			<div class="col-md-6 col-sm-6 col-xs-12">
				<select name="major" value="" id="major"
					class="form-control col-md-7 col-xs-12">
					<option value="">---请选择---</option>
					<c:forEach var="maj" items="${majors }">
						<option value="${maj.major}" ${classInfo.major==maj.major?'selected':''}>${maj.major}</option>
					</c:forEach>
				</select>
			</div>
		</div>
		<div class="item form-group">
			<label class="control-label col-md-3 col-sm-3 col-xs-12" for="email">班级名称
				<span class="required">*</span>
			</label>
			<div class="col-md-6 col-sm-6 col-xs-12">
				<input type="text" id="classname" name="classname" value="${classInfo.className}"
					data-validate-linked="email" required
					class="form-control col-md-7 col-xs-12">
			</div>
		</div>
		
		<div class="form-group">
			<div class="col-md-6 col-md-offset-3">
				<button type="submit" class="btn btn-primary">提交</button>
				<button id="sends" type="reset" class="btn btn-success">重置</button>
				<a href="${ctx}/classServlet.do?param=cha" id="send" type="button"
					class="btn btn-success">取消</a>
			</div>
		</div>
	</form>
</div>
<!-- 增加页面结束 -->
<%@ include file="../common/footer.jsp"%>
<%--<script src="${ctx }/statics/localjs/ClaAdd.js"></script>--%>
